package com.hqyj.service;

import com.hqyj.pojo.Goods;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface GoodsService {

    HashMap<String, Object> showGoodsList(Goods goods,int i);
    HashMap<String, Object> selectGoodsPhotos(Goods goods, HttpServletRequest request, MultipartFile file);

    HashMap<String, Object> insertIntoNewBuy(Goods goods, String userName);

    HashMap<String, Object> selectHavedBuyGoods(Goods goods, String userName);
}
